package 
{
import app.model.SmileModel;

import org.hamcrest.assertThat;
import org.hamcrest.object.equalTo;

public class SmileModelTest
{	
	public var model : SmileModel;
	
	[Before]
	public function setUp() : void
	{
		model = new SmileModel();
	}
	
	[After]
	public function tearDown():void
	{
	}
	
	[Test]
	public function testSadSmile() : void
	{
		assertThat(model.getSmile(0), equalTo(";("));
	}
	
	[Test]
	public function testHappySmile() : void
	{
		assertThat(model.getSmile(4), equalTo(":D"));
	}
	
	[Test]
	public function testDefaultSmile() : void
	{
		assertThat(model.getSmile(1000), equalTo(":|"));
	}
}
}